<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div align="center" style="">
    <form th:action="@{/doLogin}">
        用户名：<input name="username" type="text">
        <br>
        密码：<input name="password" type="password">
        <br>
        <input type="submit" value="登录"/>
    </form>
</div>
</body>
</html>